<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!doctype html>
<html>
<head>
    <%@include file="common/head.jspf" %>
    <title>增加车辆</title>
</head>
<body id="car-add">
<nav class="navbar text-nav" role="navigation">
    <a class="pull-left btn-back" href="settingsPage"><i class="icon-chevron-left"></i></a>
    <div class="center-block nav-title">添加车牌号</div>
</nav>
<form class="blank-head-form" action="addcar" method="post">
    <div class="form-group">
        <label for="carno">车牌号</label>
        <input class="form-control" name="carno" id="carno" type="text"/>
    </div>
    <c:if test="${empty sessionScope.user.username}">
        <div class="form-group">
            <label for="username">被保险人姓名</label>
            <input class="form-control" name="username" id="username" type="text"/>
        </div>
    </c:if>
    <div class="form-group">
        <button class="btn btn-pa-large btn-block" type="submit">提交</button>
    </div>
</form>
</body>
</html>
